﻿using System;

namespace VirtualizingTreeView.Control
{
	public class VirtualizingSelectionEventArgs : EventArgs
	{
		public VirtualizingSelectionEventArgs( Object removed, Object added )
		{
			Added = added;
			Removed = removed;
		}

		public Object Added
		{
			get; 
			private set; 
		}

		public Object Removed
		{
			get; 
			private set; 
		}
	}

	public class VirtualizingEventArgs : EventArgs
	{
		public VirtualizingEventArgs( Object item )
		{
			if( item == null )
			{
				throw new ArgumentNullException( "item" );
			}

			Item = item;
		}

		public Object Item
		{
			get;
			private set;
		}
	}
}
